package cn.iocoder.yudao.module.crm.controller.admin.task.vo.taskoperationlog;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;

import javax.validation.constraints.NotNull;

@Schema(description = "管理后台 - CRM 任务单操作记录新增/修改 Request VO")
@Data
public class TaskOperationLogSaveReqVO {

    @Schema(description = "编号", requiredMode = Schema.RequiredMode.REQUIRED, example = "15765")
    private Long id;

    @Schema(description = "用户ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "24684")
    @NotNull(message = "用户ID不能为空")
    private Long userId;

    @Schema(description = "任务单ID", requiredMode = Schema.RequiredMode.REQUIRED, example = "26149")
    @NotNull(message = "任务单ID不能为空")
    private Long taskId;

    @Schema(description = "操作状态（由0开始，依次为下发任务单、填写任务单、审核不通过、审核通过）", requiredMode = Schema.RequiredMode.REQUIRED, example = "1")
    @NotNull(message = "操作状态（由0开始，依次为下发任务单、填写任务单、审核不通过、审核通过）不能为空")
    private Integer operationStatus;

}